home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
atpar20.arc
/
ATPARITY.DOC
< prev
Wrap
Text File
|
1985-12-11
|
5KB
|
109 lines
ATPARITY.COM V2.0 (C) John R. Petrocelli 12/11/85
------------------ 3890 Carman Rd.
Schenectady, N.Y. 12303
DESCRIPTION
-----------
ATPARITY.ASM and .COM were written to address the problem of a MEMORY
PARITY ERROR locking up a PC/AT. Many users have opted to "speed up" their
AT's by replacing the 12Mhz clock crystal with one of a higher frequency.
The program when installed (it is memory resident) replaces the NON
MASKABLE INTERUPT (INT 02) and reports parity errors in a manner almost
identical to the PC/AT. However, the errors are reported to the screen and
printer (if available), parity is disabled, and you may save your work
before re-booting. In addition, the TIME that the error occurred is also
reported.
There is a chance that, if the parity error occurrs in a critical
program or data, your system will still lock up. With the default IBM BIOS
Handler you will always hang and have to reach for the Big Red Switch
Interupt!
VER 2.0 DIFFERENCES
-------------------
Version 1.0 did not report the failing address. This version (2.0)
will report the filing 64k block of memory if at all possible.
This version (2.0) has been tested on my PC/AT running at 8MHz. I was
encountering a parity error when running the MS Fortran compiler with large
input source files. The IBM-BIOS Parity Handler reported and error at
40000(S) which is in the fifth 64k block and therefore the third bank of
128k chips. It would then lock up the system.
I installed this Parity Handler, ran the same compile 10 times,
reproduced the same Parity Error (same address) 3 times and then continued
executing each time.
I did note once however that when the program attempted to continue
that it produced a File Access Error. The system did not lock up however!
NOTES
-----
Note that, if possible, the PC/AT reports the 64k segment where the
parity error occurred, or else the segment is shown as a series of question
marks (?). This segment is reported as a 20 bit address. Thus if the parity
error occurred in segment 4000h, the value 40000 would be displayed (note HEX
notation). For the standard AT the only real significant number is thus the
first which refers to the 64k block of memory where the error did occurr.
This is accomplished by reading 64k blocks of memory and determining if a
Parity Error occurred.
You should note that the the 128K chips used on the AT's mother board are
not fully pin compatable with standard 64K ro 256K chips. Thus do not try to
make your own by piggy-backing two 64K chips!
I would recommend that as soon as possible after a Parity Error is
encountered, you do a Cold Reboot (save your work first!).
DISCLAMER
---------
The author makes no waranties with regard to the use of this program and
assumes no responsibility for lost data. One may use this program at his
own risk. It has been tested as far as possible and performs as specified.
This program may be freely copied and distributed for non-commercial use
and NO CHARGE is to be associated with such copying and distribution.
Any suggestions, comments or problems should be fowarded to the author.
USEFULNESS
----------
My PC/AT is run as a file server using LAN-LINK and has a processor speed
of 8Mhz (vs 6Mhz from the factory). Running one package caused a parity error
at segment 40000h. I observed that if I loaded extra copies of memory
resident software so that the next command load was above the failing address
that the Parity Error no longer occurred. Therefore I swaped the associated
bank of 128K chips with the lowest bank of 128K chips and have no longer
encountered the error.
I am sure that many individuals have elected to replace their AT's
crystal with a higher speed/frequency one. Some reports indicate success
above 8Mhz (16Mhz crystal) all of the way to 12Mhz (24Mhz crystal). As long
as you use 150 nano second chips (or faster) in your AT, you should probably
not experience any problems. However, if you are like me and do not want to
chance being "blown out of the water", this program will help to ease your
mind. Even with the normal AT clock speed, this program will make you feel a
little more comfortable.
Note that the 12Mhz crystal in your AT yields an 80286 processor clock
speed of 6Mhz and a Co-processor clock speed of 4Mhz. This is accomplished
by dividing the crystal frequency by 2 and 3 respectively. Should you change
the crystal to 16Mhz (8Mhz processor clock speed), your Co-processor may not
operate corectly (assuming it is installed) at 5.33Mhz (16Mhz / 3). If this
is a problem you should consider the fact that at least one vendor has a
Co-processor module available which will run with its own clock of either
5Mhz or 8Mhz.
John R. Petrocelli
3890 Carman Rd.
Schenectady, N.Y. 12303